package com.yituo.mjworld.mvc.form.support.user;


import com.yituo.mjworld.core.annotation.Rules;
import com.yituo.mjworld.core.web.core.BaseForm;

public class Login extends BaseForm {
  @Rules(fieldName = "帐号")
  public String account;

  @Rules(fieldName = "密码")
  public String password;

  public String getAccount() {
    return account;
  }

  public void setAccount(String account) {
    this.account = account;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  @Override
  public boolean validate() {
    return defaultValidate();
  }
}
